package ooday01;
/*
*  学生类的测试类 */
public class StudentTest {
    public static void main(String[] args) {
        //对象张三
        Student zs = new Student();
        zs.name = "张三";
        zs.age = 29;
        zs.grade = 5;
        zs.studentId = "2016110399";
        zs.className = "JSD2302";
        zs.study();
        zs.sleep("胡二胡");
        zs.sayHi();








        //对象王五
        Student ww = new Student();
        ww.name = "王五";
        ww.age = 55;
        ww.grade = 6;
        ww.studentId = "999517";
        ww.className = "JSD2302";
        ww.study();
        ww.sleep("二胡二");
        ww.sayHi();
    }
}
